import { lazy } from "react";

const stores = [
    {
        path:'/home',
        component:lazy(()=>import('../page/home/Home')),
        children:[
            {
                path:'/home/index',
                component:lazy(()=>import('../page/home/index/Index'))
            },
            {
                path:'/home/toplist',
                component:lazy(()=>import('../page/home/toplist/Toplist'))
            },
            {
                path:'/home',
                to:'/home/index'
            }
            
    ]
    },
    {
        path:'/classfig',
        component:lazy(()=>import('../page/classfig/Classfig'))
    },
    {
        parh:'/tosrore',
        component:lazy(()=>import('../page/tosrore/Tostore'))
    },
    {
        path:'/',
        to:'/home'
    }
]

export default stores